﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="delegatelist.aspx.cs" Inherits="HFWebApp.delegates.delegatelist" %>
<%@ Register src="../Control/top.ascx" tagname="top" tagprefix="uc1" %>
<%@ Register src="../Control/end.ascx" tagname="end" tagprefix="uc2" %>
<%@ Register src="../Control/c_LawyerList.ascx" tagname="c_LawyerList" tagprefix="uc3" %>
<%@ Register src="../Control/c_LawyerList2.ascx" tagname="c_LawyerList2" tagprefix="uc4" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
<title>查看案件委托_红法网</title>
<link href="<%=this.getDemain %>/Style/Style.css" rel="stylesheet" type="text/css" />
<link href="<%=this.getDemain %>/CSS.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=this.getDemain %>/Scripts/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="<%=this.getDemain %>/javascript/SwitchTags.js"></script>
<script type="text/javascript" src="<%=this.getDemain %>/Scripts/WebFunction.js"></script>
<script type="text/javascript">
    $(function () {
        loadProvince('provinceid', 'cityid');
    });
</script>
</head>

<body>
<uc1:top ID="top1" MenuClassID="2" focusLink2="focusLink" runat="server" />
<table width="980" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="top"><table width="250" border="0" cellpadding="0" cellspacing="0" class="bt_bj_25">
      <tr>
        <td height="31" valign="bottom"><table width="111" border="0" cellspacing="0" cellpadding="0" style="margin-left:6px">
          <tr>
            <td height="26" align="center" background="<%=this.getDemain %>/<%=this.getDemain %>/images/pro_bj1.jpg" class="bt_h_14">推荐律师</td>
          </tr>
        </table></td>
      </tr>
    </table>
      <table width="250" border="0" cellpadding="0" cellspacing="0" class="bk_xzy">
        <tr>
          <td height="325" valign="top"><uc4:c_LawyerList2 ID="c_LawyerList21" Count = "6" runat="server" /></td>
        </tr>
      </table>
      <table width="250" border="0" cellpadding="0" cellspacing="0" class="bt_bj_25" style="margin-top:12px">
        <tr>
          <td height="31" valign="bottom"><table width="111" border="0" cellspacing="0" cellpadding="0" style="margin-left:6px">
            <tr>
              <td height="26" align="center" background="<%=this.getDemain %>/images/pro_bj1.jpg" class="bt_h_14">本周人气律师</td>
            </tr>
          </table></td>
        </tr>
      </table>
      <table width="250" border="0" cellpadding="0" cellspacing="0" class="bk_xzy">
        <tr>
          <td height="320" valign="top" style=" padding-top:10px; ">
          <uc3:c_LawyerList ID="c_LawyerList1" Count="10" runat="server" /></td>
        </tr>
    </table></td>
    <td width="720" valign="top"><table width="720" border="0" cellpadding="0" cellspacing="0" class="bk_h" style="margin-bottom:12px">
      <tr>
        <td height="200" valign="top" class="bt_bj_26"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="37" class="bt_14_x" style="padding-left:10px">查找案件委托</td>
          </tr>
        </table>
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <form id="searchDelegateForm" method="get" action="delegatelist.aspx">
            <tr>
              <td width="80" height="42" align="center">我想查看：</td>
              <td width="390"><input type="text" name="keyword" id="keyword" />
                  <select name="provinceid" id="provinceid">
                    <option value="0">=省份=</option>
                  </select> 
                  <select name="cityid" id="cityid">
                    <option value="0">=城市=</option>
                  </select></td>
              <td><span style="padding-right:5px;">
                <input type="submit" name="button" id="button" value="搜索" />
                <input type="button" name="button2" id="button2" onclick="location='<%=this.getDemain %>/user/uc_AddDelegate.aspx';" value="我要发布案件委托" />
              </span></td>
              </tr>
              </form>
          </table>
            <asp:Repeater ID="Repeater1" runat="server">
                <ItemTemplate>
                    <table width="700" border="0" align="center" cellpadding="0" cellspacing="0" class="bk_h" style="margin-bottom:10px;">
                    <tr>
                      <td height="32" bgcolor="#ecf4fd" class="bt_14_x" style="padding-left:16px"><a href="/delegate/delegatecontent.aspx?id=<%#Eval("ID") %>" class="linkcolor5"><%#Eval("DelegateName") %></a></td>
                    </tr>
                    <tr>
                      <td height="32">
                      <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                          <td width="100" height="24" align="right" bgcolor="#f8fbff">涉案资金：</td>
                          <td><%#Eval("InvolvedCaseMoney").ToString() == "0" ? "保密" : Eval("InvolvedCaseMoney").ToString() + " 元"%></td>
                          <td width="100" align="right">委托费用：</td>
                          <td><%#Eval("DelegateMoney").ToString() == "0" ? "保密" : Eval("DelegateMoney").ToString() + " 元"%></td>
                          <td width="100" align="right">所在地点：</td>
                          <td><%#this.getProvinceName(Eval("ProvinceID").ToString()) %> <%#this.getCityName(Eval("CityID").ToString()) %></td>
                        </tr>
                        <tr>
                          <td height="24" align="right" bgcolor="#f8fbff">发布时间：</td>
                          <td><%#DateTime.Parse(Eval("Addtime").ToString()).ToShortDateString() %></td>
                          <td align="right">截止时间：</td>
                          <td><%#DateTime.Parse(Eval("EndTime").ToString()).ToShortDateString() %></td>
                          <td align="right">操作：</td>
                          <td><a href="/delegate/delegatecontent.aspx?id=<%#Eval("ID") %>" class="message">查看详情</a></td>
                        </tr>
                      </table></td>
                    </tr>
                  </table>
                </ItemTemplate>
            </asp:Repeater>
          
          <table width="700" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:8px; margin-bottom:12px">
            <tr>
              <td height="30" align="center" class="bq"><div class="manu"><%=PageString%></div></td>
            </tr>
          </table></td>
      </tr>
    </table></td>
  </tr>
</table>
<uc2:end ID="end1" runat="server" />
</body>
</html>
